package com.service.system.businessShop;

import com.entity.system.AgentNew;
import com.entity.system.BusinessShopTemp;
import com.entity.system.Classify;
import com.entity.system.UserCashFlow;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface BusinessShopService {

    /**
     * 查询商家列表
     * @return
     */
    public Map<String,Object> findBusinessShopList(Map<String,Object> map);

    /**
     * 店铺审核
     * @param id
     * @param auditType
     * @param content
     * @return
     */
    public Map<String,Object> auditBus(String id,String auditType,String content);

    /**
     * 查询商户列表
     * @param pageSize
     * @param pageNum
     * @return
     */
    public Map<String,Object> findMerchantsList(String pageSize, String pageNum, String state, String isPreferredBusiness, String label, AgentNew agentNew,String startTime,String endTime,String phone);

    /**
     * 根据userId查询商铺信息
     * @param userId
     * @return
     */
    public Map<String,Object> findBusinessShopByUserId(String userId);

    /**
     * 商家审核
     * @param id
     * @param type
     * @return
     */
    public Map<String,Object> merchantsAudit(String id,String type,String content);

    public void shareApp(Long userId, Long taskConfigId) throws ParseException;

    /**
     * 查询分类列表
     * @param map
     * @return
     */
    public Map<String,Object> findClassifyList(Map<String,Object> map);

    /**
     * 添加分类
     * @param classify
     * @return
     */
    public Map<String,Object> addClassify(Classify classify);

    /**
     * 修改分类
     * @param classify
     * @return
     */
    public Map<String,Object> updateClassify(Classify classify);

    /**
     * 删除分类
     * @param id
     * @return
     */
    public Map<String,Object> delClassify(Integer id);

    /**
     * 查询消费金交易明细
     * @param type 1:广告币充值订单 2创客合伙人订单  3:消费金充值订单  4:优惠买单订单
     * @return
     */
    Map<String, Object> findUserConsumerMoney(String pageSize, String pageNum, Long userId, String startTime, String endTime, Integer type, Map<String, Object> map1);

    /**
     * 设置是否为优选商家
     * @param businessShopTemp
     * @return
     */
    public Map<String,Object> updateIsPreferredBusiness(BusinessShopTemp businessShopTemp);
}
